package com.youth.orderservice.Client.Impl;

import com.youth.ClientEntity.OrderCourse;
import com.youth.orderservice.Client.CourseClient;
import org.springframework.stereotype.Component;

@Component
public class CourseClientFallback implements CourseClient {

    @Override
    public OrderCourse orderCourse(String courseId) {
        System.out.println("根据课程id获取订单里面的课程信息远程调用失败");
        return null;
    }

    @Override
    public boolean insertCourseMember(String courseId, String memberId) {
        System.out.println("插入课程成员信息失败~");
        return false;
    }


}